fix(deps): update dependency httpx to >=0.15.4,<0.18.2 #400
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.15.4,<0.18.0->>=0.15.4,<0.18.2Release Notes
encode/httpx
v0.18.1Compare Source
Changed
brotlicffipackage (Pull #1605)Request(..., stream=...)does not auto-generate any headers on the request instance. (Pull #1607)Fixed
timeout=...in top-level httpx.stream() function. (Pull #1613)v0.18.0Compare Source
The 0.18.x release series formalises our low-level Transport API, introducing the base classes
httpx.BaseTransportandhttpx.AsyncBaseTransport.See the "Writing custom transports" documentation and the
httpx.BaseTransport.handle_request()docstring for more complete details on implementing custom transports.Pull request #1522 includes a checklist of differences from the previous
httpcoretransport API, for developers implementing custom transports.The following API changes have been issuing deprecation warnings since 0.17.0 onwards, and are now fully deprecated...
Changed
httpx.BaseTransportorhttpx.AsyncBaseTransport,and should implement either the
handle_requestmethod orhandle_async_requestmethod. (Pull #1522, #1550)response.extproperty andResponse(ext=...)argument are now namedextensions. (Pull #1522)data=<bytes|str|bytes (a)iterator>in favour ofcontent=<bytes|str|bytes (a)iterator>has now been escalated to a deprecation warning. (Pull #1573)Response(on_close=...)from API, since it was a bit of leaking implementation detail. (Pull #1572)httpx.ResponseClosedis now namedhttpx.StreamClosed. (#1584)httpx.QueryParamsmodel now presents an immutable interface. There is a discussion on the design and motivation here. Useclient.params = client.params.merge(...)instead ofclient.params.update(...). The basic query manipulation methods arequery.set(...),query.add(...), andquery.remove(). (#1600)Added
RequestandResponseclasses can now be serialized using pickle. (#1579)data={"key": [None|int|float|bool]}cases. (Pull #1539)httpx.URL(**kwargs), for examplehttpx.URL(scheme="https", host="www.example.com", path="/'), orhttpx.URL("https://www.example.com/", username="[email protected]", password="123 456"). (Pull #1601)url.copy_with(params=...). (Pull #1601)url.paramsparameter, returning an immutableQueryParamsinstance. (Pull #1601)url.copy_set_param(),url.copy_add_param(),url.copy_remove_param(),url.copy_merge_params(). (Pull #1601)httpx.URLclass now performs port normalization, so:80ports are stripped fromhttpURLs and:443ports are stripped fromhttpsURLs. (Pull #1603)URL.hostproperty returns unicode strings for internationalized domain names. TheURL.raw_hostproperty returns byte strings with IDNA escaping applied. (Pull #1590)Fixed
files=...where unicode string is used as the file content. (Pull #1537)Client(base_url=...). (Pull #1532)request.contentattribute is now always available except for streaming content, which requires an explicit.read(). (Pull #1583)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.